package com.gaofen.exceltoword.service.impl;

import com.gaofen.exceltoword.entity.exceltoword.Ldshape;
import com.gaofen.exceltoword.entity.exceltoword.Whshape;
import com.gaofen.exceltoword.mapper.LdshapeMapper;
import com.gaofen.exceltoword.mapper.WhshapeMapper;
import com.gaofen.exceltoword.service.LdshapeService;
import com.gaofen.exceltoword.service.WhshapeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

@Service
public class LdshapeServiceImpl implements LdshapeService {

    @Resource
    LdshapeMapper ldshapeMapper;

    @Override
    public int insertLdshape(List<Ldshape> ldshapeList) {
        return ldshapeMapper.insertLdshape(ldshapeList);
    }

    @Override
    public List<Ldshape> selectLdshapeDataListByJcsj(String jcsj) {
        return ldshapeMapper.selectLdshapeDataListByJcsj(jcsj);
    }

    @Override
    public List<Ldshape> selectLdshapeDataList() {
        return ldshapeMapper.selectLdshapeDataList();
    }

    @Override
    public List<Date> selectLdshapeDate() {
        return ldshapeMapper.selectLdshapeDate();
    }
}
